{include file="$temps.head" title="$webs.title" keywords="$webs.keywords" description="$webs.description" /}
<div class="layout list-topgg pos-r">
    <div class="layout img-auto cx-fex-c fex-items-c" style="height: 30vh;">
        {$label.listbg2|default=""}
    </div>
</div>
<div class="layout list">
    <div class="layout in-anli-k in-pad">
        <div class="cont cx-fex-l fex-column sing-lianxi">
            <div class="layout pad-a10 t-reverse">
                <h1 class="sing-title t-c t-18">{$parts.title}</h1>
                <div class="layout sing-cont mt-20 fex-column t-16">
                    <div class="layout fex-column">{$parts.cont}</div>
                    <div id="container" class="mapzy lianxi-map mt-20"></div>
                </div>
            </div>
        </div>
    </div>
</div>
<script type="text/javascript" src="https://webapi.amap.com/maps?v=1.4.10&key=7fc8d8fde10c6dfdb01563da138a7c80&plugin=AMap.AdvancedInfoWindow"></script>
<script type="text/javascript" src="https://cache.amap.com/lbs/static/addToolbar.js"></script>
<script type="text/javascript">
    let lnglat = [121.1633,30.900067];
    let map = new AMap.Map('container', {
        resizeEnable: true,
        center: lnglat,
        zoom: 13,

    });
    let marker = new AMap.Marker({
        position: lnglat,
        draggable:true, //点标记可拖拽
        cursor:'move', //鼠标悬停点标记时的鼠标样式
        offset: new AMap.Pixel(-13, -30)
    });
    marker.setMap(map);
    let content='<div class="info-title t-yellow">上海香霖展览展示有限公司</div><div class="info-content t-black t-14" style="line-height:2">' +
        '<img class="img-responsive mr-10 f-l" src="__IMAGES__/xianglin/logo.png">' +
        '联系人:龙经理<br/>' +
        'TEL:021-80158202<br/>' +
        '上海香霖展览展示有限公司，是一家集展台设计、制作、搭建及营销策划活动于一体的综合性展览服务机构...<br/>' +
        '</div>';
    let  infowindow = new AMap.AdvancedInfoWindow({
        // isCustom: true,  //使用自定义窗体
        content: content,
        autoMove: true,
        offset: new AMap.Pixel(0, -30),
        // placeSearch: true,
    });
    infowindow.open(map,lnglat);
    AMap.event.addListener(marker, 'click', function() {
        infowindow.open(map, marker.getPosition());
    });
</script>
{include file="$temps.foot" /}